import java.util.Scanner;

public class Age {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        if(n <= 18) {
            System.out.println("少年");
        } else if(n <= 28) {
            System.out.println("青年");
        } else if(n <= 55) {
            System.out.println("中年");
        } else {
            System.out.println("老年");
        }
        sc.close();
    }
}
